import request from '@/utils/request'

// 查询节点结果记录列表
export function listRuleNodeResult(query) {
    return request({
        url: '/business/RuleNodeResult/list',
        method: 'get',
        params: query
    })
}

// 查询节点结果记录详细
export function getRuleNodeResult(id) {
    return request({
        url: '/business/RuleNodeResult/' + id,
        method: 'get'
    })
}

// 新增节点结果记录
export function addRuleNodeResult(data) {
    return request({
        url: '/business/RuleNodeResult',
        method: 'post',
        data: data
    })
}

// 修改节点结果记录
export function updateRuleNodeResult(data) {
    return request({
        url: '/business/RuleNodeResult',
        method: 'put',
        data: data
    })
}

// 删除节点结果记录
export function delRuleNodeResult(id) {
    return request({
        url: '/business/RuleNodeResult/' + id,
        method: 'delete'
    })
}

// 导出节点结果记录
export function exportRuleNodeResult(query) {
    return request({
        url: '/business/RuleNodeResult/export',
        method: 'get',
        params: query
    })
}